package com.example.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.domain.Product;
import com.example.service.ProductService;
import com.example.mapper.ProductMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 11259
* @description 针对表【t_product】的数据库操作Service实现
* @createDate 2023-02-07 09:34:15
*/
@Service
public class ProductServiceImpl extends ServiceImpl<ProductMapper, Product>
    implements ProductService{
    @Autowired
    ProductMapper productMapper;

    @Override
    public List<Product> getList(Integer tid) {
        return productMapper.getList(tid);
    }
}




